﻿* Encoding: UTF-8.
* Hierarchical regression analyses GROUP #1 = UTATE 18 months and WPPSI 6 years.

*Select variables without missings for centering UTATE and WPPSI variables.
COUNT
  nomisUTATEWPPSI = Group M2_UTATEnew_Orienting M2_UTATEnew_Alerting M2_UTATEnew_Executive M5_WPPSI_FSIQ_corrected (MISSING).
FREQUENCIES
  VARIABLES=nomisUTATEWPPSI
  /ORDER=  ANALYSIS.
EXECUTE.

USE ALL.
COMPUTE filter_$=(nomisUTATEWPPSI eq 0).
VARIABLE LABEL filter_$ 'nomisUTATEWPPSI eq 0 (FILTER)'.
VALUE LABELS filter_$  0 'Not Selected' 1 'Selected'.
FORMAT filter_$ (f1.0).
FILTER BY filter_$.
EXECUTE .

DESCRIPTIVES
  VARIABLES=Group M2_UTATEnew_Orienting M2_UTATEnew_Alerting M2_UTATEnew_Executive M5_WPPSI_FSIQ_corrected 
  /STATISTICS=MEAN STDDEV MIN MAX .
EXECUTE.

*Center variables.
COMPUTE c1M2_Orienting = M2_UTATEnew_Orienting - -.0015.
EXECUTE .
COMPUTE c1M2_Alerting = M2_UTATEnew_Alerting - -.0066.
EXECUTE .
COMPUTE c1M2_Executive = M2_UTATEnew_Executive - -.0010.
EXECUTE .

*Compute interaction variables.
COMPUTE i1GroupM2Orienting = c1M2_Orienting * Group .
EXECUTE .
COMPUTE i1GroupM2Alerting = c1M2_Orienting * Group .
EXECUTE .
COMPUTE i1GroupM2Executive = c1M2_Orienting * Group .
EXECUTE .

*Regression analysis UTATE & FSIQ
Step 1 (enter maternal education & group)
Step 2 (enter centered variables) 
Step 3 (enter interaction variables).
REGRESSION
  /descriptives cor
  /MISSING LISTWISE
  /STATISTICS COEFF CI(95)OUTS R ANOVA BCOV CHANGE collin tol
  /CRITERIA=PIN(.05) POUT(.10)
  /NOORIGIN
  /DEPENDENT M5_WPPSI_FSIQ_corrected
/METHOD=ENTER Maternal_education Group
 /METHOD=ENTER c1M2_Orienting c1M2_Alerting c1M2_Executive
/METHOD=ENTER i1GroupM2Orienting i1GroupM2Alerting i1GroupM2Executive.

*Regression analysis UTATE & VIQ
Step 1 (enter maternal education & group)
Step 2 (enter centered variables) 
Step 3 (enter interaction variables).
REGRESSION
  /descriptives cor
  /MISSING LISTWISE
  /STATISTICS COEFF CI(95)OUTS R ANOVA BCOV CHANGE collin tol
  /CRITERIA=PIN(.05) POUT(.10)
  /NOORIGIN
  /DEPENDENT M5_WPPSI_VIQ_corrected
/METHOD=ENTER Maternal_education Group
 /METHOD=ENTER c1M2_Orienting c1M2_Alerting c1M2_Executive
/METHOD=ENTER i1GroupM2Orienting i1GroupM2Alerting i1GroupM2Executive.

*Regression analysis UTATE & PIQ
Step 1 (enter maternal education & group)
Step 2 (enter centered variables) 
Step 3 (enter interaction variables).
REGRESSION
  /descriptives cor
  /MISSING LISTWISE
  /STATISTICS COEFF CI(95)OUTS R ANOVA BCOV CHANGE collin tol
  /CRITERIA=PIN(.05) POUT(.10)
  /NOORIGIN
  /DEPENDENT M5_WPPSI_PIQ_corrected‎
/METHOD=ENTER Maternal_education Group
 /METHOD=ENTER c1M2_Orienting c1M2_Alerting c1M2_Executive
/METHOD=ENTER i1GroupM2Orienting i1GroupM2Alerting i1GroupM2Executive.

*Regression analysis UTATE & PSQ
Step 1 (enter maternal education & group)
Step 2 (enter centered variables) 
Step 3 (enter interaction variables).
REGRESSION
  /descriptives cor
  /MISSING LISTWISE
  /STATISTICS COEFF CI(95)OUTS R ANOVA BCOV CHANGE collin tol
  /CRITERIA=PIN(.05) POUT(.10)
  /NOORIGIN
  /DEPENDENT M5_WPPSI_PSQ_corrected
/METHOD=ENTER Maternal_education Group
 /METHOD=ENTER c1M2_Orienting c1M2_Alerting c1M2_Executive
/METHOD=ENTER i1GroupM2Orienting i1GroupM2Alerting i1GroupM2Executive.
